package com.hexinfo.dmpro.monitor.dao;

import com.hexinfo.dmpro.monitor.model.YarnAppModel;
import com.hexinfo.dmpro.monitor.model.base.MonitorReq;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 **/
@Repository
public interface YarnAppDao {

    void updateInsertApp(YarnAppModel yarnApp);

    List<YarnAppModel> selectYarnApp(MonitorReq req);

    List<YarnAppModel> selectYarnAppNow(MonitorReq req);

    void delInsertApp(YarnAppModel yarnApp);
    void upInsertApp(YarnAppModel yarnApp);

}
